package com.example.agriculyural.FactoryMethod;

public class SprayingMachine extends AgriculturalMachine {
    public SprayingMachine(String id) {
        super(id);
    }

    @Override
    public void performOperation() {
        this.status = "喷药中";
        System.out.println("喷药机 " + id + " 正在执行喷药作业");
    }

    @Override
    public String getMachineType() {
        return "喷药机";
    }
}

